#ifndef ANALYSISEXCEPTION_H
#define ANALYSISEXCEPTION_H

#include <exception>

using namespace std;

class AnalysisException : public exception {
    string desc;
    public:
    AnalysisException(string _desc) {
        desc=_desc;
    }
    virtual const char * what() const throw() {
        return desc.c_str();
    }
    ~AnalysisException() throw () {}
};

#endif
